#define _CRT_SECURE_NO_WARNINGS 1
#include"Heap(Seq).h"

void HPTest01()
{
	HP hp;
	HPInit(&hp);

	int arr[] = { 10,5,15,9,5,4 };
	for (int i = 0; i < 6; i++)
	{
		HPPush(&hp, arr[i]);
	}
	for (int i = 0; i < 6; i++)
	{
		printf("%d ", HPTop(&hp));
		HPPop(&hp);
	}

	HPDestroy(&hp);
}

int main()
{
	HPTest01();
	return 0;
}